generatePassword_001 = function(s){ var len=s.length; var rs=""; for(var i=0;i<len;i++){ var k=s.substring(i,i+1); rs+="$"+(s.charCodeAt(i)+"1")+";"; } return rs; }

console.log(generatePassword_001("123123"))